package com.wish.contract.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wish.contract.entity.CfTermination;
import com.wish.contract.entity.CfTerminationDto;
import com.wish.contract.entity.CfTerminationSearchPage;
import com.wish.contract.mapper.CfTerminationMapper;
import com.wish.contract.service.ICfTerminationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 崔-收房解约协议查询 服务实现类
 * </p>
 *
 * @author xioacui
 * @since 2022-03-26
 */
@Service
public class CfTerminationServiceImpl extends ServiceImpl<CfTerminationMapper, CfTermination> implements ICfTerminationService {

    @Autowired
    private CfTerminationMapper cfTerminationMapper;

    @Override
    public IPage<CfTerminationDto> searchCfTerminationList(IPage<CfTerminationDto> cfTerminationDtoIPage, CfTerminationSearchPage cfTerminationSearchPage) {
        return cfTerminationMapper.cfTerminationIPage(cfTerminationDtoIPage,cfTerminationSearchPage);
    }
}
